.weui-dialog, .weui-toast {
  transition-duration: .2s;
  opacity: 0;
  transform: translate(-50%,-50%);
  transform-origin: 0 0;
  visibility: hidden;
  margin: 0;
  top: 45%;
  z-index: 2000;

  .weui-dialog__btn.default {
    color: @color-text-secondary;
  }

  .weui-dialog__btn + .weui-dialog__btn {
    position: relative;
    &:after {
      content: " ";
      position: absolute;
      left: 0;
      top: 0;
      width: 1px;
      height: 100%;
      border-left: 1px solid #D5D5D6;
      color: #D5D5D6;
      transform-origin: 0 0;
      transform: scaleX(0.5);
    }
  }

  &.weui-dialog--visible, &.weui-toast--visible {
    opacity: 1;
    visibility: visible;
  }
}

.weui-toast {
}

.weui-toast_forbidden {
  color: #F76260;
}
.weui-toast_cancel .weui-icon-toast:before {
  content: "\EA0D";
}
.weui-toast_forbidden .weui-icon-toast:before {
  content: "\EA0B";
  color: #F76260;
}
.weui-toast_text {
  min-height: 1em;
  width: auto;
  height: 45px;
  border-radius: 25px;
  margin-left: 0;
  transform: scale(0.9) translate3d(-50%, 0, 0);
  transform-origin: left;

  &.weui-toast--visible {
    transform: scale(1) translate3d(-50%, 0, 0);
  }

  .weui-icon-toast {
    display: none;
  }

  .weui-toast_content {
    margin: 10px 15px;
  }
}

.weui-mask {
  opacity: 0;
  transition-duration: .3s;
  visibility: hidden;
  &.weui-mask--visible {
    opacity: 1;
    visibility: visible;
  }
}

.weui-prompt-input {
  padding: 4px 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  height: 2em;
  width: 80%;
  margin-top: 10px;
}
